import request from '@/utils/request'

// 查询业务线排班规则列表
export function listBusinesslineschedulingrules(query) {
  return request({
    url: '/system/businesslineschedulingrules/list',
    method: 'get',
    params: query
  })
}

// 查询业务线排班规则详细
export function getBusinesslineschedulingrules(id) {
  return request({
    url: '/system/businesslineschedulingrules/' + id,
    method: 'get'
  })
}

// 新增业务线排班规则
export function addBusinesslineschedulingrules(data) {
  return request({
    url: '/system/businesslineschedulingrules',
    method: 'post',
    data: data
  })
}

// 修改业务线排班规则
export function updateBusinesslineschedulingrules(data) {
  return request({
    url: '/system/businesslineschedulingrules',
    method: 'put',
    data: data
  })
}

// 删除业务线排班规则
export function delBusinesslineschedulingrules(id) {
  return request({
    url: '/system/businesslineschedulingrules/' + id,
    method: 'delete'
  })
}
